package net.sf.calibur.monitor;

import net.sf.calibur.engine.Event;

public class FileModifiedEvent extends Event {
	private String rootPath;
	private String name;

	public FileModifiedEvent(String path, String name) {
		this.rootPath = path;
		this.name = name;
	}

	public String getRootPath() {
		return rootPath;
	}

	public String getName() {
		return name;
	}

	@Override
	public String toString() {
		return new StringBuffer().append(getClass().getSimpleName())
				.append(" rootPath=").append(rootPath).append(" name=").append(name)
				.toString();
	}
}
